package org.itboys.core.entity.mongo;

import org.itboys.core.util.PhoneUtil;
import org.itboys.mongodb.entity.BaseMongoEntity;
import org.itboys.mongodb.service.BaseMongoService;
import org.mongodb.morphia.annotations.Entity;

/**
 * @Author：贾琦磊
 * @Date：2018/9/6
 * @Description：员工表
 */
@Entity(value = "SundayEmployee",noClassnameStored = true)
public class SundayEmployee extends BaseMongoEntity{
    private String number;
    /**员工姓名*/
    private String name;
    /**联系方式*/
    private String mobile;
    /**员工性别*/
    private Integer sex;
    /** 员工状态*/
    private Integer state;

    public SundayEmployee() {
    }

    public SundayEmployee(String number, String name, String mobile, Integer sex, Integer state) {
        this.number = number;
        this.name = name;
        this.mobile = mobile;
        this.sex = sex;
        this.state = state;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
